﻿using CodeContrib.Hydrator;

namespace CodeContrib
{
	public static class HydratorExtensions
	{
		public static T Hydrate<T>(this T instance)
		{
			var hydrator = new Hydrator<T>();
			hydrator.Hydrate(instance);

			return instance;
		}
	}
}